package com.solo.system.model.user.req;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Collections;
import java.util.Set;

@Data
public class AssignUserReq {

    /**
     * 角色id
     */
    @NotNull(message = "{role.required.roleId}")
    private Long roleId;

    /**
     * 用户id集合
     */
    private Set<Long> userIds = Collections.emptySet();;

}
